home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000265_fdc@columbia.edu_Tue Aug 6 10:29:31 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  52 lines

  1. Article: 13585 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.unix.programmer,comp.protocols.kermit.misc
  5. Subject: Re: connecting to MD110 with tip
  6. Date: 6 Aug 2002 10:24:01 -0400
  7. Organization: Columbia University
  8. Lines: 35
  9. Message-ID: <aiom61$gi6$1@watsol.cc.columbia.edu>
  10. References: <f8c38141.0208060547.2a67ad69@posting.google.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1028643845 25010 128.59.39.139 (6 Aug 2002 14:24:05 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 6 Aug 2002 14:24:05 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.unix.programmer:150025 comp.protocols.kermit.misc:13585
  16.  
  17. In article <f8c38141.0208060547.2a67ad69@posting.google.com>,
  18. Adam Atkinson <ghira@mistral.co.uk> wrote:
  19. : I'm trying to write an expect script to connect to an MD110
  20. : PABX and get logging information from it.
  21. : I do "spawn tip modem" and am able to get into the tracker
  22. : modem attached to the MD110, and put it in talkthrough mode.
  23. : At this point, I'm supposed to send a bunch of Ss and a semicolon.
  24. : On a telnet connection to suitably equipped MD110, this works.
  25. : Via dial-up, it doesn't. It doesn't work when I use tip
  26. : by hand either.
  27. : What am I doing wrong?
  28. Suggest you use C-Kermit to replace Telnet, Tip, and Expect:
  29.  
  30.   http://www.columbia.edu/kermit/ckermit.html
  31.  
  32. Then you don't have to worry about interaction among three different
  33. programs, and the fact that you have one program for network connections
  34. but another one for serial connections.
  35.  
  36. Maybe there is some kind of coordination between input and output
  37. that you are missing.  In situations like this, it is often necessary
  38. to wait for a prompt before issuing a command; not all devices buffer
  39. up typeahead.  The Telnet connection might have disguised this.
  40.  
  41. Start by reading the Kermit scripting tutorial:
  42.  
  43.   http://www.columbia.edu/kermit/ckscripts.html
  44.  
  45. - Frank
  46.